package com.dragons.dragonsvf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author DragonG
 */
@MapperScan("com.dragons.dragonsvf.dao")
@SpringBootApplication
public class DragonsVfApplication {

    public static void main(String[] args) {

        /** 配置自己的 LOG */
        SpringApplication app = new SpringApplication(DragonsVfApplication.class);
        /**
         * Banner.Mode.OFF:关闭;
         * Banner.Mode.CONSOLE:控制台输出，默认方式;
         * Banner.Mode.LOG:日志输出方式;
         */
        app.setBannerMode(Banner.Mode.LOG); // here
        app.run(args);

    }

}
